﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace CandidateManager.Controllers
{
    /// <summary>
    /// Model for Login
    /// </summary>
    public class LoginModel
    {
        [Required(ErrorMessageResourceName = "LoginRequired", ErrorMessageResourceType = typeof(Resources.Login))]
        public string Login { get; set; }

        [Required(ErrorMessageResourceName = "PasswordRequired", ErrorMessageResourceType = typeof(Resources.Login))]
        public string Password { get; set; }
    }
}
